import QtQuick 2.14
import QtQuick.Window 2.14
import QtQuick.Layouts 1.12
import QtQuick.Controls 2.14
import QtQuick.Controls.Material 2.12

import "qrc:/_context/Basic"
import "qrc:/_context/CusCheckBox"
import "qrc:/_context/CusInput"
import "qrc:/_context/CusGroupBox"
import "qrc:/_context/CusComboBox"
import "qrc:/_context/CusButton"

Item {
    ColumnLayout {
        anchors.fill: parent
        anchors.rightMargin: 60
        anchors.topMargin: 25
        anchors.bottomMargin: 50
        anchors.leftMargin: 60

        spacing: 20;

        YaheiText{
            text: "Modbus寄存器地址在不同功能码下分别对应的PLC地址：";
            color: "#FFC0CB";

            font.pixelSize:  20;
            font.bold: true;
        }

        YaheiText{
            text: "功能码 01(读线圈状态)   00001 ~ 09999"
        }
        YaheiText{
            text: "功能码 02(读离散输入状态)  10001 ~ 19999"
        }
        YaheiText{
            text: "功能码 03(读保持寄存器)  40001 ~ 49999"
        }
        YaheiText{
            text: "功能码 04(读输入寄存器)  30001 ~ 39999"
        }

        YaheiText{
            text: "工况点数据类型：";
            color: "#FFC0CB";

            font.pixelSize:  20;
            font.bold: true;
        }

        YaheiText{
            text: "0  数字量/开关量/信号量/报警量/状态量    Modbus 03功能码";
        }
        YaheiText{
            text: "1  开关量     Modbus 01功能码";
        }
        YaheiText{
            text: "2  模拟量(无符号)";
        }
        YaheiText{
            text: "3  单浮点数(abcd) *";
        }
        YaheiText{
            text: "4  单浮点数(badc)";
        }
        YaheiText{
            text: "7  单浮点数(dcba)";
        }
        YaheiText{
            text: "8  模拟量(有符号，可以表示负数)";
        }
    }
}
